﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GalaSoft.MvvmLight;

namespace MODEL
{
    public class AgricultureInfo : ViewModelBase
    {
        private string m_UserName;
        public string UserName
        {
            get { return m_UserName; }
            set { m_UserName = value; base.RaisePropertyChanged(); }
        }

        private string m_MaterialsName;
        public string MaterialsName
        {
            get { return m_MaterialsName; }
            set { m_MaterialsName = value; base.RaisePropertyChanged(); }
        }

        private string m_Factory;
        public string Factory
        {
            get { return m_Factory; }
            set { m_Factory = value; base.RaisePropertyChanged(); }
        }

        private string m_FactoryAddress;
        public string FactoryAddress
        {
            get { return m_FactoryAddress; }
            set { m_FactoryAddress = value; base.RaisePropertyChanged(); }
        }

        private DateTime m_DeadLine;
        public DateTime DeadLine
        {
            get { return m_DeadLine; }
            set { m_DeadLine = value; base.RaisePropertyChanged(); }
        }
        //public DateTime? DeadLine { get; set; }

        private DateTime m_UsefulDeadLine;
        public DateTime UsefulDeadLine
        {
            get { return m_UsefulDeadLine; }
            set { m_UsefulDeadLine = value; base.RaisePropertyChanged(); }
        }
        //public DateTime? UsefulDeadLine { get; set; }

        private string m_ProductionPlace;
        public string ProductionPlace
        {
            get { return m_ProductionPlace; }
            set { m_ProductionPlace = value; base.RaisePropertyChanged(); }
        }

        private string m_PhoneNum;
        public string PhoneNum
        {
            get { return m_PhoneNum; }
            set { m_PhoneNum = value; base.RaisePropertyChanged(); }
        }
    }
}
